package J1_14;

public class J114task2 {
    public static void main(String[] args) {
        paidui();
    }
    private  static  void paidui(){
        int i=10;
        while (i<1000){
            if (i%5==2&&i%7==3&&i%3==1){
                System.out.println("这个学校有"+i+"名学生");
                return;
            }
            i++;
        }
    }
}
